//package com.ctesi.config;
//
//import com.ctesi.service.hubei.pageprocessor.BiddingPageProcessorService;
//import com.ctesi.service.hubei.pipeline.HBiddingPipelineService;
//import com.ctesi.service.hubei.pipeline.WBiddingPipelineService;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import us.codecraft.webmagic.Spider;
//import us.codecraft.webmagic.processor.PageProcessor;
//
//@Configuration
//public class SpiderConfig {
//
//
//    @Bean
//    Spider create() {
//
//        Spider spider = Spider.create(pageProcessor());
//        return spider;
//    }
//
//
//    @Bean
//    PageProcessor pageProcessor() {
//
//        return new BiddingPageProcessorService();
//
//    }
//
//
//    @Bean
//    WBiddingPipelineService pipeline() {
//
//        return new WBiddingPipelineService();
//    }
//
//}
